package com.athuiju.hr.mapper;

import com.athuiju.hr.entity.Administrator;
import com.athuiju.hr.entity.vo.AdministratorVo;
import com.athuiju.hr.entity.vo.ProRessultVo;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wzh
 * @since 2022-01-12
 */
@Repository
public interface AdministratorMapper extends BaseMapper<Administrator> {
    //分页查询管理员
    IPage<AdministratorVo> selectMyPageAdmin(IPage<AdministratorVo> page, @Param(Constants.WRAPPER) Wrapper<AdministratorVo> querywrapper);

}
